@import './reset';

html {
  width: 100%;
  height: 100%;
}
body {
  background: #f3f4f7;
  font-size: 14px;
  text-align: left;
  width: 100%;
  height: 100%;
  color: #333;
}

.pad {
  padding: 20px;
}
.pad-top {
  padding-top: 20px;
}
.pad-bottom {
  padding-bottom: 20px;
}
.pad-left {
  padding-left: 20px;
}
.pad-right {
  padding-right: 20px;
}
.pad-hor {
  padding-left: 20px;
  padding-right: 20px;
}
.pad-ver {
  padding-top: 20px;
  padding-bottom: 20px;
}
.flex {
  display: flex;
}
.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}
.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.flex-around {
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.flex-start {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.flex-end {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.mg-20 {
  margin: 20px;
}
.bg-white {
  background-color: #fff;
}

.page-main {
  display: flex;
  position: relative;
  flex-direction: column;
  height: 100%;
}
.ant-pagination {
  text-align: right;
  margin-top: 10px;
}
.ant-upload-list-item-container {
  height: 40px !important;
}
.link {
  color: #69b1ff;
}
.ant-input-number {
  width: 100%;
}
.loading-box {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.35);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  .loading-spin {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 16px;
    color: white;
  }
}
.no-bg {
  background-color: none;
}

.c-tag {
  color: rgba(27, 110, 243, 1);
  border: 1px solid rgba(27, 110, 243, 1);
  font-size: 12px;
  display: inline-block;
  height: auto;
  margin-inline-end: 8px;
  padding-inline: 7px;
  white-space: nowrap;
  background: rgba(0, 0, 0, 0.02);
  border-radius: 4px;
  opacity: 1;
  transition: all 0.2s;
  text-align: start;
}
.md {
  max-width: 1200px;
  margin: 0 auto;
}
.c-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  button {
    width: 97px;
    height: 36px;
    border-radius: 18px;
  }
  :where(.css-dev-only-do-not-override-kqecok).ant-btn-default {
    background: #eeeeee;
  }
}
.c-modal {
  .ant-modal-title {
    text-align: center;
  }
  .ant-modal-confirm-btns {
    button {
      width: 97px;
      height: 36px;
      border-radius: 18px;
    }
    :where(.css-dev-only-do-not-override-kqecok).ant-btn-default {
      background: #eeeeee;
    }
  }
}
.main-flex {
  display: flex;
  flex: 1;
  height: 90%;
  .fix-left {
    width: 211px;
  }
  .drop-main-flex-right {
    display: flex;
    width: 100%;
    flex: 1;
    position: relative;
  }
  > .center {
    width: 100%;
    flex: 1;
    height: 100%;
    overflow-y: auto;
    position: relative;
  }
  .drop-fix-center {
    flex: 1;
    height: 100%;
    overflow-y: auto;
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    .drop-pop {
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
    }
  }
  .drop-resize {
    width: 2px;
    height: 100%;
    cursor: col-resize;
    background: #d6d6d6;
    z-index: 1;
  }
  .drop-fix-right {
    width: 524px;
    position: relative;
    display: flex;
  }
}
.c-confirm {
  .ant-modal-confirm-body {
    justify-content: center;
  }
  .ant-modal-confirm-btns {
    button {
      width: 97px;
      height: 36px;
      border-radius: 18px;
    }
    :where(.css-dev-only-do-not-override-kqecok).ant-btn-default {
      background: #eeeeee;
    }
  }
}
.back {
  cursor: pointer;
}

.text-ellipsis {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.text-ellipsis-2 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.text-ellipsis-3 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
a {
  color: #69b1ff;
  cursor: pointer;
}
.hide {
  display: none;
}
